import requests

url = 'https://fanyi.baidu.com/sug'

kw = input("请输入一个单词")

dic = {
    'kw': kw,
}

resp = requests.post(url, data=dic)
print(resp.json())
